<?php

namespace Payment\Common\Sw\Data\Cancel;

use Payment\Common\Sw\Data\SwBaseData;


/**
 * Class BackCloseData
 *
 *
 * @package Payment\Common\Sw\Data
 *
 */
class BackCloseData extends SwBaseData
{
    public function getData()
    {
        $this->retData['package'] = [
            'result_code' => $this->result_code,//"业务结果，01成功，表示关单成功，此笔订单不能再发起支付；
        ];
        $this->retData['other'] = [
            'pay_type' => $this->pay_type,//010
            'merchant_no' => $this->merchant_no??'',
            'terminal_id' => $this->terminal_id??'',
            'terminal_trace'=> $this->terminal_trace??'',
            'terminal_time' => $this->terminal_time??'',
        ];

        return parent::getData(); // TODO: Change the autogenerated stub
    }

    protected function buildData()
    {

    }

    protected function checkDataParam()
    {
        // 对于返回数据不做检查检查
    }
}
